package com.api.user.model;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.List;

public class CommodityAdd implements Serializable {
    private Long commodityId;

    /**
     * 商品名字
     */
    private String commodityName;

    /**
     * 分类
     */
    private Long categoryId;

    /**
     * 简介
     */
    private String commodityIntroduce;

    /**
     * 1 上架 2下架
     */
    private Integer commodityState;

    /**
     * 支付方式 point/coin
     */
    private String payMethod;

    private String commodityPicture;

    private String standard;

    private String rule;


    private String howUse;
    private List<CommoditySpecs> specs;


    public String getCommodityPicture() {
        return commodityPicture;
    }

    public void setCommodityPicture(String commodityPicture) {
        this.commodityPicture = commodityPicture;
    }

    public List<CommoditySpecs> getSpecs() {
        return specs;
    }

    public void setSpecs(List<CommoditySpecs> specs) {
        this.specs = specs;
    }

    /**
     * @return commodity_id
     */
    public Long getCommodityId() {
        return commodityId;
    }

    /**
     * @param commodityId
     */
    public void setCommodityId(Long commodityId) {
        this.commodityId = commodityId;
    }

    /**
     * 获取商品名字
     *
     * @return commodity_name - 商品名字
     */
    public String getCommodityName() {
        return commodityName;
    }

    /**
     * 设置商品名字
     *
     * @param commodityName 商品名字
     */
    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    /**
     * 获取分类
     *
     * @return category_id - 分类
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 设置分类
     *
     * @param categoryId 分类
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取简介
     *
     * @return commodity_introduce - 简介
     */
    public String getCommodityIntroduce() {
        return commodityIntroduce;
    }

    /**
     * 设置简介
     *
     * @param commodityIntroduce 简介
     */
    public void setCommodityIntroduce(String commodityIntroduce) {
        this.commodityIntroduce = commodityIntroduce;
    }

    /**
     * 获取1 上架 2下架
     *
     * @return commodity_state - 1 上架 2下架
     */
    public Integer getCommodityState() {
        return commodityState;
    }

    /**
     * 设置1 上架 2下架
     *
     * @param commodityState 1 上架 2下架
     */
    public void setCommodityState(Integer commodityState) {
        this.commodityState = commodityState;
    }

    /**
     * 获取支付方式 point/coin
     *
     * @return pay_method - 支付方式 point/coin
     */
    public String getPayMethod() {
        return payMethod;
    }

    /**
     * 设置支付方式 point/coin
     *
     * @param payMethod 支付方式 point/coin
     */
    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }


    public String getHowUse() {
        return howUse;
    }

    public void setHowUse(String howUse) {
        this.howUse = howUse;
    }
}